Custom Dp Entry
EN Represents a custom dimension entry with qualifiers and priority. Used by the DimenPerimeter class to define specific values for screen conditions.
PT Representa uma entrada de dimensão customizada com qualificadores e prioridade. Usada pela classe DimenPerimeter para definir valores específicos para condições de tela.
Parameters
The UI mode (CAR, TELEVISION, WATCH, NORMAL). Null for any mode.
The Dp qualifier entry (type and value, e.g., SMALL_WIDTH > 600). Null if only UI mode is used.
The screen orientation (LANDSCAPE, PORTRAIT, DEFAULT).
The Dp value to be used if the condition is met.
Optional dimension qualifier (e.g., HEIGHT) to be applied at resolution time.
The resolution priority. 1 is more specific (UI + Qualifier), 3 is less specific (Qualifier only).
The inverter type to adapt scaling width/height on rotation changes (default is Inverter.DEFAULT).